﻿using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace ProductIntory.Domains
{
    public class Useres
    {
        //自增
        [Key]

        public int? UId { get; set; }
        /// <summary>
        /// 用户主键
        /// </summary>
        public string? User_WorkCode { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? User_Name { get; set; }
        public string? Real_Name { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string? User_PassWord { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int? Role_Id { get; set; }
        /// <summary>
        /// 邮件
        /// </summary>
        public string? User_Email { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public int? User_Phone { get; set; }
        /// <summary>
        /// 固定手机号
        /// </summary>
        public int? User_FixedPhone { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 登录次数
        /// </summary>
        public int? Login_Number { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public int? Department_Id { get; set; }
        /// <summary>
        /// 是否删除 
        /// </summary>
        public bool? User_IsDel { get; set; }
    }
}
